sfdc-ux (LC)

(0 reviews)

List Appointment Slots from ACUT

/searchTimeSlot

[POST]

To list appointment slots from ACUT

https://nonprod.lc.esb.cloud.lla.com/test/sfdc-ux/sfdc-ux/v1/JM/searchTimeSlot

URI Params

NameTypeDescriptionRequired
businessIdString2 letter ISO 3166 country code (CO, HN, CR, DO, SV, GT, WHS etc.) identifying the business unit. Expected:JM,AI,AG,VG,KY,DM,GD,MS,KN,LC,VC,TCY

Headers

NameTypeDescriptionRequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y

Body Definitions

NameTypeDescriptionRequired
requestedTimeSlot[].validFor.endDateTimestringEnd of the time periodY
requestedTimeSlot[].validFor.startDateTimestringStart of the time periodY
relatedEntity[0].idstringChannel Name.Ex:SALESFORCEY
relatedEntity[0].namestringChannel Ex:SALESFORCE123Y
relatedEntity[0].rolestringDefault: channelY
relatedEntity[0].@referredTypedatetimeDefalult: ChannelY
relatedEntity[1].idstringTicket NumberY
relatedEntity[1].namestringTicket typeY
relatedEntity[1].rolestringDefault: TicketY
relatedEntity[1].@referredTypedatetimeDefalult: TroubleTicketY

Sample Request

{
  "requestedTimeSlot": [
    {
      "validFor": {
        "endDateTime": "2025-10-07T08:00:00.000+05:30",
        "startDateTime": "2025-10-06T08:00:00.000+05:30"
      }
    }
  ],
  "relatedEntity": [
    {
      "id": "SALESFORCE",
      "name": "SALESFORCE123",
      "role": "channel",
      "@referredType": "Channel"
    },
    {
      "id": "2025101503795581",
      "name": "PHONE",
      "role": "Ticket",
      "@referredType": "TroubleTicket"
    }
  ]
}

Sample Response

{
  "id": "12cfac79-ee61-4cfe-b943-8205e942594c",
  "searchDate": "2025-10-06T08:00:00.000+05:30",
  "searchResult": "success",
  "availableTimeSlot": [
    {
      "id": "OOS:AD",
      "validFor": {
        "endDateTime": "2025-10-06T17:00:00.000+05:30",
        "startDateTime": "2025-10-06T08:00:00.000+05:30"
      }
    },
    {
      "id": "OOS:PM",
      "validFor": {
        "endDateTime": "2025-10-06T17:00:00.000+05:30",
        "startDateTime": "2025-10-06T13:00:00.000+05:30"
      }
    },
    {
      "id": "OOS:AD",
      "validFor": {
        "endDateTime": "2025-10-07T17:00:00.000+05:30",
        "startDateTime": "2025-10-07T08:00:00.000+05:30"
      }
    },
    {
      "id": "OOS:AM",
      "validFor": {
        "endDateTime": "2025-10-07T12:00:00.000+05:30",
        "startDateTime": "2025-10-07T08:00:00.000+05:30"
      }
    },
    {
      "id": "OOS:PM",
      "validFor": {
        "endDateTime": "2025-10-07T17:00:00.000+05:30",
        "startDateTime": "2025-10-07T13:00:00.000+05:30"
      }
    }
  ],
  "relatedEntity": [
    {
      "id": "SALESFORCE",
      "name": "SALESFORCE123",
      "role": "channel",
      "@referredType": "Channel"
    },
    {
      "id": "2025101503795581",
      "name": "PHONE",
      "role": "Ticket",
      "@referredType": "TroubleTicket"
    }
  ],
  "requestedTimeSlot": [
    {
      "validFor": {
        "endDateTime": "2025-10-07T08:00:00.000+05:30",
        "startDateTime": "2025-10-06T08:00:00.000+05:30"
      }
    }
  ]
}

Reviews